#include "stdafx.h"

ATL::CComModule _AtlModule;

// DLL Entry Point
EXTERN_C BOOL WINAPI
DllMain
	( HINSTANCE hInstance
	, DWORD dwReason
	, LPVOID lpReserved
	)
{
	ATLTRACE(_T(__FUNCTION__) _T(": %d, 0x%08X\n"), dwReason, hInstance);

	if (dwReason == DLL_PROCESS_ATTACH)
		DisableThreadLibraryCalls(hInstance);

	return _AtlModule.DllMain(hInstance, dwReason, lpReserved, NULL, NULL); 
}
